package com.example.yingjiguanli_demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author scj
 * @since 2024-11-04
 */
@Getter
@Setter
@TableName("post_images")
public class PostImages implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图片ID
     */
    @TableId(value = "image_id", type = IdType.AUTO)
    private Integer imageId;

    /**
     * 信息ID
     */
    private Integer postId;

    /**
     * 图片URL
     */
    private String imageUrl;

    /**
     * 上传时间
     */
    private LocalDateTime createdAt;
}
